﻿namespace BlamanticUI.Components;

/// <summary>
/// Represents a container to display <see cref="Image"/> in other component.
/// </summary>
[CssClass("image")]
public class ImageContent : BlazorChildContentComponentBase, IHasUIComponent, IHasFluid
{
    /// <summary>
    /// Initializes a new instance of the <see cref="ImageContent"/> class.
    /// </summary>
    public ImageContent()
    {
        Fluid = true;
    }

    /// <summary>
    /// Gets or sets a value indicating whether this is fluid.
    /// </summary>
    /// <value>
    ///   <c>true</c> if fluid; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Fluid { get; set; }
}
